package ca.jsbr.canvaswar.games.faction 
{
	import ca.jsbr.canvaswar.games.unit.Unit;
	/**
	 * ...
	 * @author jsbr [jsricard@lvlstudio.com]
	 */
	public class Faction 
	{
		protected var _name:String;
		protected var _units:Vector.<Unit>;
		
		public function Faction(name:String) 
		{
			_name = name;
			_units = new Vector.<Unit>();
		}
		
		public function addUnit(unit:Unit):void 
		{
			_units.push(unit);
			unit.faction = this;
		}
		
		public function removeUnit(blueTank:Unit):void 
		{
			
		}
		
		
		
	}

}